<?php /* Smarty version 2.6.19, created on 2013-02-19 10:00:00
         compiled from /home/samrathe/public_html/udeal/Interfaces/templates/admin/user/view_user_list.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', '/home/samrathe/public_html/udeal/Interfaces/templates/admin/user/view_user_list.tpl', 38, false),array('modifier', 'date_format', '/home/samrathe/public_html/udeal/Interfaces/templates/admin/user/view_user_list.tpl', 45, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['admin_header1'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['admin_header2'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['admin_leftsidebar'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<div class="middel_panel">
<h1 class="type2">Admin Users</h1>
		
<div class="breadcrumb"><!--<a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/admin/index.php">Home</a>&nbsp;&gt;&nbsp;-->Manage Admin 
<div class="holdthisTop">
  <form name="frmSearch" action="" method="get">
    <table width="100%" cellspacing="0" cellpadding="0">
      <tr>		
        <td align="right">&nbsp;</td>
      </tr>
    </table>
  </form>
</div>

<table cellpadding="6" cellspacing="2" align="center" width="100%" border="0">
  <tr><td  colspan="1" width="70%" align="left">&nbsp;</td></tr>
	
</table>
     <div id="Managesecurity1Div"></div>
                  <!--main content ends -->
</div>
<div class="holdthisTop">
<form name="frmAction" id="frmAction" method="post" action="">
   <table cellpadding="2" cellspacing="2" align="center" width="100%" border="0" class="datagrid">
		 <tr class="headbg"> 
<th width="20%"><a href="<?php echo $this->_tpl_vars['site_path']; ?>
/admin/user/list/sorttype/name/sortord/<?php echo $this->_tpl_vars['hidden_user_sort_by']; ?>
/<?php if ($_GET['searchuser'] != ''): ?>searchuser/<?php echo $_GET['searchuser']; ?>
<?php endif; ?>"> User Name </a></th>
<th width="20%"><a href="<?php echo $this->_tpl_vars['site_path']; ?>
/admin/user/manageadmin.php?sorttype=Email&amp;sortord=<?php echo $this->_tpl_vars['hidden_user_sort_by']; ?>
<?php if ($_GET['searchuser'] != ''): ?>&amp;searchuser=<?php echo $_GET['searchuser']; ?>
<?php endif; ?>"> Email Address</a></th>
<th width="20%"><a href="<?php echo $this->_tpl_vars['site_path']; ?>
/admin/user/manageadmin.php?sorttype=Country&amp;sortord=<?php echo $this->_tpl_vars['hidden_user_sort_by']; ?>
<?php if ($_GET['searchuser'] != ''): ?>&amp;searchuser=<?php echo $_GET['searchuser']; ?>
<?php endif; ?>"> Country</a></th>
<th width="20%"><a href="<?php echo $this->_tpl_vars['site_path']; ?>
/admin/user/manageadmin.php?sorttype=Signup&amp;sortord=<?php echo $this->_tpl_vars['hidden_user_sort_by']; ?>
<?php if ($_GET['searchuser'] != ''): ?>&amp;searchuser=<?php echo $_GET['searchuser']; ?>
<?php endif; ?>"> Signup</a></th>
     

        		<th width="20%" align="center">Action</th>
      </tr>
	  	<?php if (0 < count($this->_tpl_vars['users'])): ?>
         <?php $_from = $this->_tpl_vars['users']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['user']):
?>

      <tr class="grayback" id="tr_<?php echo $this->_sections['i']['iteration']; ?>
">
            <td align="left"><?php echo $this->_tpl_vars['user']->getFirstName(); ?>
 <?php echo $this->_tpl_vars['user']->getLastName(); ?>
</td>
				 <td align="left" width="34"><?php echo $this->_tpl_vars['user']->getEmail(); ?>
</td>
				<td align="left" width="34"><?php echo $this->_tpl_vars['user']->getCountryId(); ?>
</td>
				<td align="left" width="34"><?php echo ((is_array($_tmp=$this->_tpl_vars['user']->getSignupDate())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</td>
			   <td align="center" width="10%"><img src="<?php echo $this->_tpl_vars['site_images_path']; ?>
/icons/application_edit.png" align="top"  alt="edit"/> <a href="<?php echo $this->_tpl_vars['site_path']; ?>
/admin/user/edit/id/<?php echo $this->_tpl_vars['user']->getId(); ?>
"
	 class="frmtxt">Edit</a> | <img src="<?php echo $this->_tpl_vars['site_images_path']; ?>
/icons/film.png" align="top" alt="view" /> <a href="<?php echo $this->_tpl_vars['site_path']; ?>
/admin/user/view/id/<?php echo $this->_tpl_vars['user']->getId(); ?>
" class="frmtxt">View</a>  </td>
     </tr>
          <?php endforeach; endif; unset($_from); ?>
		<?php else: ?>
     <tr align="center" class="trbgprj02">
            <td colspan="7"><b> No Records Found.</b></td>
     </tr>
          <?php endif; ?>
    </table>
<div align="right"><?php echo $this->_tpl_vars['pgnation']; ?>
</div>
      </form>
</div>

                  <!--content ends -->
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      </div>
    </div>
    <!--Banner ends -->
  </div>
  </div>
  <!--content area ends -->

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['admin_footer'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>